package com.yaolaizaixian.merchant.utils;

/**
 * Created by Administrator on 2017/5/17.
 */
public class BusinessUtils {



    //获取会员等级字符串
    public static  String getCustomerRank (int rankcode)
    {
        //会员等级判断
        if (rankcode == 100) {

            return  "注册会员";

        } else if (rankcode == 200) {

            return  "白金尊荣会员";

        } else if (rankcode == 300) {

            return  "尊荣会员";

        } else if (rankcode == 400) {

            return  "钻石会员";

        } else if (rankcode == 500) {

            return  "黑金会员";

        }
        else
        {
            return  "";
        }
    }
}
